package hello.bean.person;

import org.springframework.data.rest.core.config.Projection;

/**
 * @Description:
 * @Author: m01
 * @Date: created at  2018/12/21  11:15
 * @Modified By:
 */
/*@Projection(name = "personandaddress")
public interface PersonAndAddress {


}*/
public class PersonAndAddress{

    private String firstName;
    private String lastName;
    private String road;
    private String city;

    public String getFirstName() {
        return firstName;
    }

    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    public String getLastName() {
        return lastName;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    public String getRoad() {
        return road;
    }

    public void setRoad(String road) {
        this.road = road;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }
}